﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Lekker.Data.Model;

namespace Lekker.Data.Tags {
    class TagDao : ITagDao {


        /*---------------------------------------------------------------------------------------*/
        #region ITagDao Members

        public IEnumerable<Tag> GetAllTags() {
            using (var ctx = new LekkerEntities()) {
                return ctx.Tags.ToList();
            }
        }

        #endregion
        /*---------------------------------------------------------------------------------------*/
    }
}
